package net.goutalk.glcs.module.erpModel.caseErpBom.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class AddCaseErpBomDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("父级id")
    @ExcelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("物料外键id")
    @ExcelProperty("物料外键id")
    private Long materialId;

    @ApiModelProperty("物料编码")
    @ExcelProperty("物料编码")
    private String code;

    @ApiModelProperty("物料名称")
    @ExcelProperty("物料名称")
    private String name;

    @ApiModelProperty("规格型号")
    @ExcelProperty("规格型号")
    private String model;

    @ApiModelProperty("单位名称")
    @ExcelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("物料类别名称")
    @ExcelProperty("物料类别名称")
    private String  typeName;

    @ApiModelProperty("物料属性名称")
    @ExcelProperty("物料属性名称")
    private String propertyName;

    @ApiModelProperty("子级物料数量")
    @ExcelProperty("子级物料数量")
    private BigDecimal count;

}
